package DTO;

import java.io.Serializable;
import java.util.Date;
import java.util.List;


public class ScheduleDTO implements Serializable {
	public String getStation1() {
		return station1;
	}

	public void setStation1(String station1) {
		this.station1 = station1;
	}

	public String getStation2() {
		return station2;
	}

	public void setStation2(String station2) {
		this.station2 = station2;
	}

	public Integer getTrainNumber() {
		return trainNumber;
	}

	public void setTrainNumber(Integer trainNumber) {
		this.trainNumber = trainNumber;
	}

	private static final long serialVersionUID = 1L;

	private int scheduleID;

	private Date dateOfArrival;

	private Date dateOfDeparture;

	private String station1;

	private String station2;

	private Integer trainNumber;
	
	private List<TicketDTO> tickets;

	public ScheduleDTO() {
	}

	public int getScheduleID() {
		return this.scheduleID;
	}

	public void setScheduleID(int scheduleID) {
		this.scheduleID = scheduleID;
	}

	public Date getDateOfArrival() {
		return this.dateOfArrival;
	}

	public void setDateOfArrival(Date dateOfArrival) {
		this.dateOfArrival = dateOfArrival;
	}

	public Date getDateOfDeparture() {
		return this.dateOfDeparture;
	}

	public void setDateOfDeparture(Date dateOfDeparture) {
		this.dateOfDeparture = dateOfDeparture;
	}
	
	public List<TicketDTO> getTickets() {
		return this.tickets;
	}

	public void setTickets(List<TicketDTO> tickets) {
		this.tickets = tickets;
	}

}